<!DOCTYPE html>
<html>
<head>
    <meta name="layout" content="main"/>
    <g:set var="entityName" value="${message(code: 'opportunityContact.label', default: 'OpportunityContact')}"/>
    <title>联系人信息：${this.opportunityContact?.contact?.fullName}</title>
</head>

<body>
<div class="small-header">
    <div class="hpanel">
        <div class="panel-body">
            <div id="hbreadcrumb" class="pull-right">
                <ol class="hbreadcrumb breadcrumb">
                    <li><g:link controller="opportunity" action="show"
                                id="${this.opportunityContact?.opportunity?.id}">订单详情</g:link></li>
                    <li class="active">联系人详情</li>
                </ol>
            </div>

            <h2 class="font-light m-b-xs">
                查看联系人信息
            </h2>
        </div>
    </div>
</div>

<div class="content animate-panel">
    <div class="row">
        <g:if test="${flash.message}">
            <div class="message alert alert-info" role="status">${flash.message}
                <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
                        aria-hidden="true">×</span></button>
            </div>
        </g:if>
        <div class="hpanel hyellow">
            <div class="panel-heading">
                <div class="panel-tools">
                  <%-- <g:if test="${this.canEdit}">
                          <g:link class="btn btn-info btn-xs" action="edit"
                                  id="${this.opportunityContact?.id}"><i class="fa fa-edit"></i>修改联系人信息</g:link>
                  </g:if> --%>
                </div>
                联系人信息
            </div>

            <div class="panel-body">
                <div class="form-horizontal">
                  <div class="form-group">
                      <label class="col-md-2 control-label">联系人姓名：</label>

                      <div class="col-md-3">
                          <span class="cont">${this.opportunityContact?.contact?.fullName}</span>
                      </div>
                      <label class="col-md-2 control-label">性别：</label>

                      <div class="col-md-3">
                          <span class="cont">${this.opportunityContact?.contact?.gender}</span>
                      </div>

                  </div>
                  <div class="form-group">
                      <label class="col-md-2 control-label">联系人电话：</label>

                      <div class="col-md-3">
                          <span class="cont">${this.opportunityContact?.contact?.cellphone}</span>
                      </div>
                      <label class="col-md-2 control-label">户籍所在地：</label>

                      <div class="col-md-3">
                          <span class="cont">${this.opportunityContact?.contact?.nativePlace}</span>
                      </div>

                  </div>
                  <div class="form-group">
                      <label class="col-md-2 control-label">联系人身份证号：</label>

                      <div class="col-md-3">
                          <span class="cont">${this.opportunityContact?.contact?.idNumber}</span>
                      </div>
                      <label class="col-md-2 control-label">现单位工作年限（年）：</label>

                      <div class="col-md-3">
                          <span class="cont">${this.opportunityContact?.contact?.currentSeniority}</span>
                      </div>

                  </div>
                  <div class="form-group">
                      <label class="col-md-2 control-label">婚姻状况：</label>

                      <div class="col-md-3">
                          <span class="cont">${this.opportunityContact?.contact?.maritalStatus}</span>
                      </div>
                      <label class="col-md-2 control-label">职位等级：</label>

                      <div class="col-md-3">
                          <span class="cont">${this.opportunityContact?.contact?.jobLevel}</span>
                      </div>

                  </div>
                  <div class="form-group">
                      <label class="col-md-2 control-label">最高学位：</label>

                      <div class="col-md-3">
                          <span class="cont">${this.opportunityContact?.contact?.highestCertificate?.name}</span>
                      </div>
                      <label class="col-md-2 control-label">平均月收入（元）：</label>

                      <div class="col-md-3">
                          <span class="cont">${this.opportunityContact?.contact?.monthlyIncome}</span>
                      </div>

                  </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label">是否有房：</label>

                        <div class="col-md-3">
                            <span class="cont">${this.opportunityContact?.contact?.houseOwner}</span>
                        </div>
                        <label class="col-md-2 control-label">房产总价值：</label>

                        <div class="col-md-3">
                            <span class="cont">${this.opportunityContact?.contact?.totalPriceOfHouse}</span>
                        </div>
                    </div>

                    <div class="hr-line-dashed"></div>

                    <div class="form-group">
                        <label class="col-md-2 control-label">房产套数：</label>

                        <div class="col-md-3">
                            <span class="cont">${this.opportunityContact?.contact?.numberOfHouse}</span>
                        </div>
                        <label class="col-md-2 control-label">文化程度：</label>

                        <div class="col-md-3">
                            <span class="cont">${this.opportunityContact?.contact?.certificate?.name}</span>
                        </div>

                    </div>

                    <div class="hr-line-dashed"></div>

                    <div class="form-group">
                      <label class="col-md-2 control-label">是否为优质行业：</label>

                      <div class="col-md-3">
                          <span class="cont cellphoneFormat">${this.opportunityContact?.contact?.isHighQualityIndustry}</span>
                      </div>
                      <label class="col-md-2 control-label">是否缴纳：</label>

                      <div class="col-md-3">
                          <span class="cont cellphoneFormat">${this.opportunityContact?.contact?.residentialAddress}</span>
                      </div>

                    </div>
                    <div class="hr-line-dashed"></div>

                    <div class="form-group">
                      <label class="col-md-2 control-label">个人缴纳比例：</label>

                      <div class="col-md-3">
                          <span class="cont cellphoneFormat">${this.opportunityContact?.contact?.isHighQualityIndustry}</span>
                      </div>
                      <label class="col-md-2 control-label">个人月缴纳金额：</label>

                      <div class="col-md-3">
                          <span class="cont cellphoneFormat">${this.opportunityContact?.contact?.residentialAddress}</span>
                      </div>

                    </div>

                    <div class="hr-line-dashed"></div>

                    <div class="form-group">
                      <label class="col-md-2 control-label">住房来源及居住状况：</label>

                      <div class="col-md-3">
                          <span class="cont">${this.opportunityContact?.contact?.houseOrigin?.name}</span>
                      </div>
                      <label class="col-md-2 control-label">现住址时间：</label>

                      <div class="col-md-3">
                          <span class="cont">${this.opportunityContact?.contact?.residentialDuration}</span>
                      </div>

                    </div>

                    <div class="hr-line-dashed"></div>

                    <div class="form-group">
                      <label class="col-md-2 control-label">常驻地址邮编：</label>

                      <div class="col-md-3">
                          <span class="cont">${this.opportunityContact?.contact?.zipCode}</span>
                      </div>
                      <label class="col-md-2 control-label">常驻地址4*：</label>

                      <div class="col-md-3">
                          <span class="cont">CN:中国</span>
                      </div>

                    </div>
                    <div class="hr-line-dashed"></div>

                    <div class="form-group">
                      <label class="col-md-2 control-label">常驻地址3*：</label>

                      <div class="col-md-3">
                          <span class="cont">${this.opportunityContact?.contact?.province?.name}</span>
                      </div>
                      <label class="col-md-2 control-label">常驻地址2*：</label>

                      <div class="col-md-3">
                          <span class="cont">${this.opportunityContact?.contact?.city?.name}</span>
                      </div>

                    </div>
                    <div class="hr-line-dashed"></div>

                    <div class="form-group">
                      <label class="col-md-2 control-label">常驻地址1*：</label>

                      <div class="col-md-3">
                          <span class="cont">${this.opportunityContact?.contact?.district?.name}</span>
                      </div>
                      <label class="col-md-2 control-label">居住国家和地区：</label>

                      <div class="col-md-3">
                          <span class="cont">中国</span>
                      </div>

                    </div>

                    <div class="hr-line-dashed"></div>

                    <div class="form-group">
                        <label class="col-md-2 control-label">国家/地区（国籍）：</label>

                        <div class="col-md-3">
                            <span class="cont">中国</span>
                        </div>
                        <label class="col-md-2 control-label">国民经济部门：</label>

                        <div class="col-md-3">
                            <span class="cont">住户</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label">是否为居民：</label>

                        <div class="col-md-3">
                            <span class="cont">${this.opportunityContact?.contact?.isResident?"是":"否"}</span>
                        </div>
                        <label class="col-md-2 control-label">通讯语言：</label>

                        <div class="col-md-3">
                            <span class="cont">${this.opportunityContact?.contact?.language}</span>
                        </div>

                    </div>

                </div>
            </div>
        </div>
    </div>



</body>
</html>
